MyDAC

TCRDBGrid Methods

Methods of the TCRDBGrid class.

For a complete list of the TCRDBGrid class members, see the TCRDBGrid Members topic.

Public

Name Description

ActivateFilterEdit

Use ActivateFilterEdit at run-time to move input focus to the filter bar. It activates edit control that belongs to the column, specified by Column property.

ActivateSearchEdit

Use ActivateSearchEdit at run-time to move input focus to the search bar. It activates edit control that belongs to the column, specified by Column property.

AdjustColumns

Call AdjustColumns method at run-time to stretch all columns in a grid so that they become wide enough to accommodate every visible field value. Widths of column captions restrict minimum column sizes for this operation.

ApplyFilter

Call ApplyFilter method at run-time to update TCRDBGrid component taking into account filter statements defined for every column.

CalcTitleLevel

Call CalcTitleLevel method to set Top and Bottom values of aRect parameter record depending on Level parameter value.

ClearFilters

Call CalcFilters method to clear all filter statements for grid columns.

ClearSorting

Call ClearSorting method to discard sorting previously applied to the grid data.

DataChanged

Call DataChanged method to update displayed data and status information for the grid.

GetGridSize

Call GetGridSize method to obtain width of a client area for the grid component.

GetTitleLevel

GetTitleLevel method returns TRect structure filled with top and bottom coordinates for the specified title level.

See Also

© 1997-2024 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback